<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script type="text/javascript">
</script>
<link href="css/apps/preparedsparepart/list.css" type="text/css" rel="stylesheet" />
<script src="scripts/apps/preparedsparepart/list.js" type="text/javascript"></script>
<table class="table table-bordered">
   <thead>
   <tr>
     <th>名称</th>
     <th>数量</th>
     <th>型号</th>
     <th>使用单位</th>
     <th>所属设备</th>
   </tr>
   
   </thead>
   
   <tbody>
      <c:forEach items="${pageData.rows}" var="item">
        <tr>
          <td>${item.name}</td>
          <td>${item.amount}</td>
          <td>${item.typicalness}</td>
          <td>${item.owner.name}</td>
          <td>${item.host.name}</td>
        </tr>      
      </c:forEach>
   </tbody>
    
   <tfoot>
     <tr>
      <td colspan="5">
         ${pageData.pagination}
      </td>
     </tr>
   
   </tfoot>

</table>